package com.example.captchademo.facedemo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BedRoomLight implements Light {
    private static Logger logger= LoggerFactory.getLogger(BedRoomLight.class);
    @Override
    public void on() {
        logger.info("打开卧室灯");
    }

    @Override
    public void off() {
        logger.info("关闭卧室灯");
    }
}
